package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.CheckItem;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CheckGroupDao {
    public void add(CheckGroup checkGroup);
    public void setCheckGroupAndCheckItem(Map<String,Integer> idMap);
    public Page<CheckGroup> findPage(String queryString);
    public Long findById(Integer id);
    public void deletesetCheckGroupAndCheckItem(Integer id);
    public void delete(Integer id);
    public CheckGroup findGroupById(Integer id);
    public Integer[] findItemsByGroupId(Integer id);
    public void update(CheckGroup checkGroup);
    List<CheckGroup> findAll();
}
